<template>
  <div class="content">
    <div>学生信息</div>
    <div class="box">
      <div class="label">身份信息<span class="value">学生</span></div>
      <div class="label">生源地<span class="value">{{ userInfo.username || '132****9888' }}</span></div>
      <div class="label">学校名<span class="value">**************</span></div>
      <div class="label">年级<span class="value"> 高三（2020年入学）</span></div>
      <div class="label">选课信息<span class="value">化生政</span></div>
      <div class="label">分数<span class="value">688  分</span></div>
      <div class="label">位次<span class="value">202  位</span></div>
      <div class="label">考生类型<span class="value">普通类</span></div>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { useStore } from "vuex";
import { computed } from "vue";
const store = useStore();
const userInfo = computed(() => {
  return store.getters["userStore/userInfo"];
});

</script>

<style lang="less" scoped>
@import "./index.less";
</style>
